package cn.yzfy.common.model.dto;

import cn.yzfy.common.base.dto.BaseQueryPageDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class RolePageQueryDTO extends BaseQueryPageDTO {
  
  @Serial
  private static final long serialVersionUID = 847433431132268909L;
  
  @Schema(description = "角色名")
  private String name;
  
  @Schema(description = "启用状态")
  private Boolean enable;
}